<?php
/* 
 * $Id: cli.php 12 2010-11-28 20:02:53Z LEON $
 * $Author: LEON $
 * $LastChangedDate: 2010-11-28 20:02:53 +0000 (Sun, 28 Nov 2010) $
 * $Revision: 12 $
 */
namespace cmFly\system\router;
class cli extends base {
    protected function init() {
	$self=$_SERVER['SCRIPT_FILENAME'];
	$doc_root=str_replace("\\","/",$self);
	$this->set_document_root_uri($doc_root);

	$this->set_req_file_name($doc_root);
	$this->set_req_dir(dirname($doc_root));
	$this->set_args($GLOBALS['argv']);
    }
}
